﻿using GraphProcessor;
using IQIGame.Onigao.Logic;
using UnityEngine;

namespace IQIGame.Onigao.GamePlay.Editors
{
    [System.Serializable, NodeMenuItem(SkillEditorConst.SkillEffective + "/" + SkillEditorConst.Package + "/" + SkillEditorConst.ReplaceBuffDotType, typeof(SkillEditorGraph))]
    public class EffectivePackageNode_ReplaceBuffDotType: EffectivePackageNode_Base
    {
        protected override ESkillEffectiveType actionType => ESkillEffectiveType.ReplaceBuffDotType;
        public int dotType;
        
        protected override SkillCustomConfig CreateConfig()
        {
            var rConfig = new SkillEffectiveAction_RepalceBuffDotType_ConfigData()
            {
                dotType = this.dotType
            };
            return rConfig;
        }
    }
}